//	PositioningData.java --- 

package fr.upmc.dtgui.example.robot;

import javax.swing.JPanel;

import fr.upmc.dtgui.example.gui.PositionDisplay;

public class PositioningData extends RobotStateData {

	public double x ;
	public double y ;
	public double direction ;

	public PositioningData(double x, double y, double direction) {
		super();
		this.x = x;
		this.y = y;
		this.direction = direction ;
	}

	@Override
	public void processData(JPanel jp) {
		PositionDisplay pd = (PositionDisplay) jp ;
		pd.draw(this) ;
	}

}

// $Id$